GdkWaylandWindow: Consolidate surface creation and destruction code
authorOwen W. Taylor <otaylor@fishsoup.net>
Thu, 25 Apr 2013 15:11:02 +0000 (11:11 -0400)
committerOwen W. Taylor <otaylor@fishsoup.net>
Thu, 25 Apr 2013 17:49:47 +0000 (13:49 -0400)
commitf1ce727b064cc112ad8581452d93181c53127a22
tree5719ffd4f83446453638ff93dfd7fbb14797fe7e
parentca120a98e56f66876f1958599388f1b6b64aa303
GdkWaylandWindow: Consolidate surface creation and destruction code

Combine duplicate code for creating and destroying surfaces.
To make the operation of the destroy() operation more obvious, the
destruction of the (fake) root window at display dispose time is
changed to not be a "foreign" destroy.

https://bugzilla.gnome.org/show_bug.cgi?id=698864
gdk/wayland/gdkscreen-wayland.c
gdk/wayland/gdkwindow-wayland.c